

#include "algorithm.h"


void print_array(int* arr_data, int len){
    for(int i=0; i < len; i++){
        printf("%d", arr_data[i]);
        printf("\n");
    }
}

//调用方式：swap_int(&a, &b)
void swap_int(int* a, int* b){
    int temp = *a;
    *a = *b;
    *b = temp;
}